package org.jie.guider.framework;

import org.jie.guider.framework.mvc.biz.UserBiz;
import org.jie.guider.framework.mvc.util.SpringApplication;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.support.GenericApplicationContext;

/**
 * @author lijie
 */
public class SpringStart {

    public static void main(String[] args) {
        GenericApplicationContext app = new AnnotationConfigApplicationContext(
            "org.jie.guider.framework.mvc");
        SpringApplication.getBean("admin", UserBiz.class).getById(1L);
    }
}
